package com.enzo.prms.common.util;

import org.apache.commons.lang.StringUtils;

/**
 * @author prms1.0
 * 
 * @date:2012-5-3 ����06:47:52
 * @version :
 * 
 */
public class NumberUtil {

	public boolean isNumeric(String TxtData) {
		if (StringUtils.isEmpty(TxtData)) {
			return false;
		}
		TxtData = TxtData.trim();
		int vl = TxtData.length();
		for (int i = 0; i < vl; i++) {
			char c = TxtData.charAt(i);
			if (!(c >= '0' && c <= '9')) {
				return false;
			}
		}
		return true;
	}

}
